package com.itheima.tlias.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
public class AddStudentDto {
    private String name;
    private String no;
    private Integer gender;
    private String phone;
    private Integer degree;
    private Integer clazzId;
    private String idCard;
    private Integer isCollege;
    private String address;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate graduationDate;
}
